﻿#pragma once
#include <string>

namespace cc
{
	std::string utf2gbk(const std::string &str_utf8);

	std::string gbk2utf(const std::string &str_gbk);


	std::wstring utf2wchr(const std::string &str_utf8);

	std::string wchr2utf(const std::wstring &wstr_src);


	bool isAscii(const std::string &str);

	bool isUtf8(const std::string &str);

	int getCharCount(const std::string &str_utf8);

}